home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / kernel / dev / sun4c.md / devAddrs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-12-19  |  1.1 KB  |  40 lines

  1. /*
  2.  * devAddrs.h --
  3.  *
  4.  *     Device and interrupt vector addresses for Sun-4's.
  5.  *
  6.  * Copyright 1985, 1989 Regents of the University of California
  7.  * Permission to use, copy, modify, and distribute this
  8.  * software and its documentation for any purpose and without
  9.  * fee is hereby granted, provided that the above copyright
  10.  * notice appear in all copies.  The University of California
  11.  * makes no representations about the suitability of this
  12.  * software for any purpose.  It is provided "as is" without
  13.  * express or implied warranty.
  14.  *
  15.  * $Header: /cdrom/src/kernel/Cvsroot/kernel/dev/sun4c.md/devAddrs.h,v 1.5 91/10/18 01:19:56 dlong Exp $ SPRITE (Berkeley)
  16.  */
  17.  
  18. #ifndef _DEVADDRS
  19. #define _DEVADDRS
  20.  
  21. #ifdef _ASM                /* force error if these are used */
  22.  
  23. #define    DEV_MOUSE_ADDR            %%
  24. #define    DEV_KBD_ADDR            %%
  25. #define    DEV_SERIALA_ADDR        %%
  26. #define    DEV_SERIALB_ADDR        %%
  27. #define    DEV_TIMER_ADDR            %%
  28. #define    DEV_COUNTER_ADDR        %%
  29. #define    DEV_INTERRUPT_REG_ADDR        %%
  30. #define    DEV_FRAME_BUF_ADDR        %%
  31. #define DEV_UART_VECTOR            %%
  32.  
  33. #else /* _ASM */
  34.  
  35. /* everything is grabbed from the PROM now! */
  36.  
  37. #endif /* _ASM */
  38.  
  39. #endif /* _DEVADDRS */
  40.